﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dpdw.Structure.AdapterPattern
{
    /// <summary>
    /// 绿头鸭
    /// </summary>
    public class MallardDuck : Duck
    {
        public void Quack()
        {
            System.Diagnostics.Trace.WriteLine("MallardDuck Quack");
        }

        public void Fly()
        {
            System.Diagnostics.Trace.WriteLine("MallardDuck Fly");
        }
    }
}
